package com.shiroha.video;

import com.shiroha.common.annotation.EnableRedisSerialization;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.shiroha.common.feign.client", "com.shiroha.video.jellyfin.client"})
@MapperScan("com.shiroha.video.mapper")
@EnableAsync
@EnableRedisSerialization
public class VideoServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(VideoServiceApplication.class, args);
    }

}
